package com.example.floatingpopulation.mapper;

import com.example.floatingpopulation.controller.request.BaseRequest;
import com.example.floatingpopulation.entity.JurisdictionalUnit;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface JurisdictionalUnitMapper {
    List<JurisdictionalUnit> list();

    List<JurisdictionalUnit> listByCondition(BaseRequest baseRequest);

    void save(JurisdictionalUnit obj);

    void updateById(JurisdictionalUnit obj);

    void deleteById(Integer id);

}
